/* ===== actor_styles.css ===== */
:root {
    --primary-color: #e74c3c;
    --accent-color: #3498db;
    --light-bg: #f0f8ff;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --border-radius: 8px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

.actor-detail-container {
    background-color: #d4e2f3;
    padding: 5px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}


/* 标题区域 */
.header {
    background: linear-gradient(135deg, #2c3e50, #1a2530);
    color: var(--text-light);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.header-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.actor-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.actor-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.actor-alias {
    font-size: 1.3rem;
    color: #ffa8a1;
    margin-bottom: 20px;
}

.quick-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 20px 0 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-label {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 主体内容卡片模块 */
.section-container {
    margin: 30px 0;
}

.card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card-header {
    position: relative;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

/* 红色分隔线样式 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/*.works-section .card-content::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: -15px;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 1px;*/
/*    !*background-color: var(--primary-color);*!*/
/*}*/

/* 内容区域样式 */
.card-content {
    position: relative;
    /*padding-top: 15px;*/
}

.content-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.timeline {
    position: relative;
    padding-left: 20px;
    margin-left: 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
}

.work-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.work-item:hover {
    background-color: rgba(231, 76, 60, 0.08);
}

.work-poster {
    width: 90px;
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.work-info {
    flex: 1;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.work-year {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.view-all-works {
    position: absolute;
    right: 5px;
    bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-works i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-works:hover {
    color: #c0392b;
}

.view-all-works:hover i {
    transform: translateX(3px);
}

/* 底部推荐演员模块 */
.recommended-actors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.actor-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.actor-card:hover {
    transform: translateY(-5px);
}

.actor-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.actor-info {
    padding: 15px;
}

.actor-name-small {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 10px;
    }

    .actor-name {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-container {
        margin: 20px 0;
    }

    .card {
        padding: 20px 15px;
    }

    .view-all-works {
        position: relative;
        display: inline-block;
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .work-item {
        flex-direction: column;
    }

    .work-poster {
        width: 100%;
        height: 140px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}